package org.nowcoder.leetcode.string;

/**
 * Title  : 61. Rotate List
 * Source : https://leetcode.cn/problems/rotate-list/?envType=study-plan-v2&envId=top-interview-150
 * Author : XrazYang
 * Date   : 2023-08-01
 */
public class LeetCode_28 {
    public int strStr(String haystack, String needle) {
        //直接调用api
        return haystack.indexOf(needle);
    }
}
